﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NopSolutions.NopCommerce.BusinessLogic
{
    /// <summary>
    /// Generic event arguements for events. 
    /// </summary>
    public class NopEventArgs<T> : EventArgs where T : BaseEntity
    {
        /// <summary>
        /// Creates a new instance of the NopEventArgs class accepting the business object
        /// </summary>
        public NopEventArgs(T item)
        {
            Item = item;
        }
        /// <summary>
        /// Gets or sets the item
        /// </summary>
        public T Item { get; set; }
    }
}
